package cn.ffcs.uec.common.manager.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import cn.ffcs.uec.common.dao.CustomFilesDao;
import cn.ffcs.uec.common.manager.CustomFilesManager;
import cn.ffcs.uec.common.model.CustomFiles;
import cn.ffcs.uec.common.vo.UecBdDefdoc;
import cn.ffcs.uec.common.vo.UecBdPsncl;
import cn.ffcs.uec.common.vo.UecWaPrmlv;
import cn.ffcs.uec.common.vo.UecWaSeclv;

@Service("customFilesManager")
@Scope("prototype")
public class CustomFilesManagerImpl implements CustomFilesManager {

	@Resource
	private CustomFilesDao customFilesDao;

	@Override
	public CustomFiles findCustomFilesByCustomFiles(CustomFiles customFiles) {
		return customFilesDao.findCustomFilesByCustomFiles(customFiles);
	}
	
	@Override
	public String findCustomFilesByPkdefdoc(String pkdefdoc) {
		return customFilesDao.findCustomFilesByPkdefdoc(pkdefdoc);
	}
	
	@Override
	public List<UecBdDefdoc> findCustomFilesByPkdefdocList(String pkdefdocList) {
		return customFilesDao.findCustomFilesByPkdefdocList(pkdefdocList);
	}

	@Override
	public UecBdPsncl findUecUecBdPsnclByUecBdPsncl(UecBdPsncl uecBdPsncl) {
		return customFilesDao.findUecUecBdPsnclByUecBdPsncl(uecBdPsncl);
	}

	@Override
	public UecWaPrmlv findObjectByUecWaPrmlv(UecWaPrmlv uecWaPrmlv) {
		return customFilesDao.findObjectByUecWaPrmlv(uecWaPrmlv);
	}

	@Override
	public UecWaSeclv findObjectByUecWaSeclv(UecWaSeclv uecWaSeclv) {
		return customFilesDao.findObjectByUecWaSeclv(uecWaSeclv);
	}

	@Override
	public Boolean getActivitySwitchBySysDictVo(String type) {
		return customFilesDao.getActivitySwitchBySysDictVo(type);
	}

	@Override
	public List<UecBdPsncl> findUecUecBdPsnclByUecBdPsnclList(String pkOrg) {
		return customFilesDao.findUecUecBdPsnclByUecBdPsnclList(pkOrg);
	}

	@Override
	public String getBasePostNameByCode(String code) {
		return customFilesDao.getBasePostNameByCode(code);
	}

	@Override
	public String getSysDictVo(String type) {
		// TODO Auto-generated method stub
		return customFilesDao.getSysDictVo(type);
	}

}
